package com.advertisementsystem.Dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class DeviceDTO {
    @NotBlank(message = "设备名称不能为空")
    private String name;
    @NotBlank(message = "设备编号不能为空")
    private String deviceCode;
    @NotBlank(message = "设备类型不能为空")
    private String type;
    private String location;
    private String specifications;

    private BigDecimal latitude;

    private BigDecimal longitude;
}
